package e2q.liferay.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
// default package

import org.hibernate.annotations.GenericGenerator;



/**
 * E2qLiOrganization entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "Organization_")
public class E2qLiOrganization  implements java.io.Serializable {


    // Fields    

     private Long organizationId;
     private long companyId;
     private long parentOrganizationId;
     private long leftOrganizationId;
     private long rightOrganizationId;
     private String name;
     private String type;
     private byte recursable;
     private long regionId;
     private long countryId;
     private Integer statusId;
     private String comments;


    // Constructors

    /** default constructor */
    public E2qLiOrganization() {
    }

	/** minimal constructor */
    public E2qLiOrganization(long organizationId) {
        this.organizationId = organizationId;
    }
    
    /** full constructor */
    public E2qLiOrganization(long organizationId, long companyId, long parentOrganizationId, long leftOrganizationId, long rightOrganizationId, String name, String type, byte recursable, long regionId, long countryId, Integer statusId, String comments) {
        this.organizationId = organizationId;
        this.companyId = companyId;
        this.parentOrganizationId = parentOrganizationId;
        this.leftOrganizationId = leftOrganizationId;
        this.rightOrganizationId = rightOrganizationId;
        this.name = name;
        this.type = type;
        this.recursable = recursable;
        this.regionId = regionId;
        this.countryId = countryId;
        this.statusId = statusId;
        this.comments = comments;
    }

   
    // Property accessors
    @Id
	@GeneratedValue(generator = "pk")
	@Column(name = "organizationId")
	@GenericGenerator(name = "pk", strategy = "e2q.web.orm.IdGenerator")
    public Long getOrganizationId() {
        return this.organizationId;
    }
    
    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }
	@Column(name = "companyId")
    public long getCompanyId() {
        return this.companyId;
    }
    
    public void setCompanyId(long companyId) {
        this.companyId = companyId;
    }
	@Column(name = "parentOrganizationId")
    public long getParentOrganizationId() {
        return this.parentOrganizationId;
    }
    
    public void setParentOrganizationId(long parentOrganizationId) {
        this.parentOrganizationId = parentOrganizationId;
    }
	@Column(name = "leftOrganizationId")
    public long getLeftOrganizationId() {
        return this.leftOrganizationId;
    }
    
    public void setLeftOrganizationId(long leftOrganizationId) {
        this.leftOrganizationId = leftOrganizationId;
    }
	@Column(name = "rightOrganizationId")
    public long getRightOrganizationId() {
        return this.rightOrganizationId;
    }
    
    public void setRightOrganizationId(long rightOrganizationId) {
        this.rightOrganizationId = rightOrganizationId;
    }
	@Column(name = "name")
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
	@Column(name = "type_")
    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
	@Column(name = "recursable")
    public byte getRecursable() {
        return this.recursable;
    }
    
    public void setRecursable(byte recursable) {
        this.recursable = recursable;
    }
	@Column(name = "regionId")
    public long getRegionId() {
        return this.regionId;
    }
    
    public void setRegionId(long regionId) {
        this.regionId = regionId;
    }
	@Column(name = "countryId")
    public long getCountryId() {
        return this.countryId;
    }
    
    public void setCountryId(long countryId) {
        this.countryId = countryId;
    }
	@Column(name = "statusId")
    public Integer getStatusId() {
        return this.statusId;
    }
    
    public void setStatusId(Integer statusId) {
        this.statusId = statusId;
    }
	@Column(name = "comments")
    public String getComments() {
        return this.comments;
    }
    
    public void setComments(String comments) {
        this.comments = comments;
    }
   








}